<template>
  <div>
    <input type="text"
           v-bind:value="modelValue"
           @input="emit('update:modelValue', ($event.target as Event).value)"
    >
  </div>
</template>

<script setup lang="ts">
  /**
   * @Author Rin_pu
   * @Date 2025/2/21 15:15
   * @Description son
   * @todo
   */
  defineProps<{
    modelValue: string
  }>()
  const emit = defineEmits(['update:modelValue'])
</script>

<script lang="ts">

export default {
  name: "son.vue"
}
</script>

<style scoped>

</style>